package com.example.fastdfsdemo.dao;

import org.springframework.stereotype.Repository;

import java.sql.SQLException;

/**
 * @author liuwenlin
 * @version v1.0
 * @date 2021/3/11 21:26
 */
@Repository
public interface FileSystemDao {

    /**
     * 保存用户上传的文件路径
     * @return
     * @throws SQLException
     */
    int saveUploadFilePath() throws SQLException;

    /**
     * 获取用户上传的文件路径
     * @return
     * @throws SQLException
     */
    String getUploadFilePath() throws SQLException;

}
